﻿<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="true"%>
<html>
<head>
<title>CDMS-city delivery</title>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/css/bootstrap.css" />">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/css/style.css" />">
</head>
<body>
	<jsp:include page="Header_act.jsp" />


	<section class="banner position-relative" id="home" >
		<div class="container" style="width: 100%; text-align: center">
			<div class="banner-text" style="width: 100%; text-align: center"> 
				<div class="slider-info" style="width: 100%; text-align: center">
					<div class="agileinfo-logo mt-lg-5" style="width: 100%; text-align: center">
						<h2>
							CDMS—— <br> 同城配送系统
						</h2>
						<c:choose>
							<c:when
								test="${not empty sessionScope.sender && not empty sessionScope.sender.id }">
								<%@include file="senderIndex.jsp"%>
							</c:when>
							<c:when
								test="${not empty sessionScope.manager && not empty sessionScope.manager.id }">
								<%@include file="managerIndex.jsp"%>
							</c:when>
							<c:otherwise>
					</div>

				</div>

			</div>



			<div class="choose text-center position-absolute d-lg-flex">
				<div class="choose-icon"></div>
				<div class="choose-icon">
					<span class="fa fa-truck" aria-hidden="true"></span> <a
						href="<c:url value="/sender/login" />">
						<div class="choose-grid">
							<h3 class="mt-4">配送员登录</h3>

						</div>
					</a>
				</div>

				<div class="choose-icon"></div>
				<div class="choose-icon">
					<span class="fa fa-plane" aria-hidden="true"></span> <a
						href="<c:url value="/manager/login" />">
						<div class="choose-grid">
							<h3 class="mt-4">管理员登录</h3>

						</div>
					</a>
				</div>
				<div class="choose-icon mr-0"></div>
				<div class="clearfix"></div>
			</div>
			</c:otherwise>
			</c:choose>
		</div>
	</section>


	<br>
	<br>
	<br>
	<div>
		<jsp:include page="Footer_act.jsp" />
	</div>

</body>
</html>
